package 传智播客_黑马.java高级.多线程;
/*
//实现多线程的第一种方式:继承Thread类
 */
class UseThread extends Thread{
    @Override
    public void run() {
        for (int i = 1; i <= 20; i++) {
            System.out.println("Thread" + i);
        }

    }
}
